<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>项目管理 - 消防工程集团经营管理系统</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background: #f3f4f6;
        }
    </style>
</head>
<body>
    <!-- Sidebar -->
    <div class="fixed left-0 top-0 bottom-0 w-64 bg-gray-900 text-white shadow-lg">
        <div class="p-6 border-b border-gray-800">
            <div class="flex items-center">
                <i class="fas fa-fire-extinguisher text-2xl text-blue-400 mr-3"></i>
                <div>
                    <div class="font-bold text-lg">消防工程集团</div>
                    <div class="text-xs text-gray-400">管理系统</div>
                </div>
            </div>
        </div>
        <nav class="p-4 space-y-2">
            <a href="dashboard.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-chart-line w-5 mr-3"></i>
                <span>数据看板</span>
            </a>
            <a href="project-list.html" class="flex items-center px-4 py-3 bg-blue-600 rounded-lg text-white">
                <i class="fas fa-building w-5 mr-3"></i>
                <span>项目管理</span>
            </a>
            <a href="purchase-list.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-shopping-cart w-5 mr-3"></i>
                <span>采购管理</span>
            </a>
            <a href="payment-list.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-money-bill-wave w-5 mr-3"></i>
                <span>付款管理</span>
            </a>
            <a href="inventory.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-warehouse w-5 mr-3"></i>
                <span>库存管理</span>
            </a>
            <a href="hr-dashboard.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-users w-5 mr-3"></i>
                <span>人力成本</span>
            </a>
            <a href="system-settings.html" class="flex items-center px-4 py-3 text-gray-300 hover:bg-gray-800 rounded-lg">
                <i class="fas fa-cog w-5 mr-3"></i>
                <span>系统管理</span>
            </a>
        </nav>
    </div>

    <!-- Main Content -->
    <div class="ml-64">
        <!-- Header -->
        <header class="bg-white shadow-sm border-b border-gray-200 px-8 py-4">
            <div class="flex items-center justify-between">
                <h1 class="text-2xl font-bold text-gray-800">项目管理</h1>
                <div class="flex items-center gap-4">
                    <button class="bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 flex items-center">
                        <i class="fas fa-plus mr-2"></i>
                        新建项目
                    </button>
                </div>
            </div>
        </header>

        <!-- Filters -->
        <div class="bg-white mx-8 mt-6 rounded-lg shadow-sm p-4">
            <div class="flex items-center gap-4">
                <div class="flex-1">
                    <input type="text" placeholder="搜索项目名称、地址..." 
                           class="w-full border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                </div>
                <select class="border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option>全部子公司</option>
                    <option>子公司A</option>
                    <option>子公司B</option>
                    <option>子公司C</option>
                </select>
                <select class="border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option>全部状态</option>
                    <option>筹备中</option>
                    <option>进行中</option>
                    <option>验收中</option>
                    <option>已归档</option>
                </select>
                <button class="bg-gray-100 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-200">
                    <i class="fas fa-filter mr-2"></i>筛选
                </button>
            </div>
        </div>

        <!-- Project List -->
        <main class="p-8">
            <div class="bg-white rounded-lg shadow-sm overflow-hidden">
                <table class="w-full">
                    <thead class="bg-gray-50 border-b border-gray-200">
                        <tr>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">项目名称</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">所属子公司</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">项目经理</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">合同金额</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">进度</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">状态</th>
                            <th class="px-6 py-3 text-left text-xs font-semibold text-gray-600 uppercase">操作</th>
                        </tr>
                    </thead>
                    <tbody class="divide-y divide-gray-200">
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4">
                                <div class="font-semibold text-gray-900">消防工程A项目</div>
                                <div class="text-sm text-gray-500">XX市XX区XX路123号</div>
                            </td>
                            <td class="px-6 py-4 text-sm text-gray-700">子公司A</td>
                            <td class="px-6 py-4 text-sm text-gray-700">张工</td>
                            <td class="px-6 py-4 text-sm font-semibold text-gray-900">¥5,000,000</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center">
                                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-2">
                                        <div class="bg-blue-500 h-2 rounded-full" style="width: 60%"></div>
                                    </div>
                                    <span class="text-sm text-gray-700">60%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">进行中</span>
                            </td>
                            <td class="px-6 py-4">
                                <a href="project-detail.html" class="text-blue-600 hover:text-blue-800 text-sm mr-3">查看</a>
                                <a href="#" class="text-gray-600 hover:text-gray-800 text-sm">编辑</a>
                            </td>
                        </tr>
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4">
                                <div class="font-semibold text-gray-900">消防工程B项目</div>
                                <div class="text-sm text-gray-500">XX市XX区XX路456号</div>
                            </td>
                            <td class="px-6 py-4 text-sm text-gray-700">子公司B</td>
                            <td class="px-6 py-4 text-sm text-gray-700">李工</td>
                            <td class="px-6 py-4 text-sm font-semibold text-gray-900">¥8,000,000</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center">
                                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-2">
                                        <div class="bg-blue-500 h-2 rounded-full" style="width: 45%"></div>
                                    </div>
                                    <span class="text-sm text-gray-700">45%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded">进行中</span>
                            </td>
                            <td class="px-6 py-4">
                                <a href="project-detail.html" class="text-blue-600 hover:text-blue-800 text-sm mr-3">查看</a>
                                <a href="#" class="text-gray-600 hover:text-gray-800 text-sm">编辑</a>
                            </td>
                        </tr>
                        <tr class="hover:bg-gray-50">
                            <td class="px-6 py-4">
                                <div class="font-semibold text-gray-900">消防工程C项目</div>
                                <div class="text-sm text-gray-500">XX市XX区XX路789号</div>
                            </td>
                            <td class="px-6 py-4 text-sm text-gray-700">子公司A</td>
                            <td class="px-6 py-4 text-sm text-gray-700">王工</td>
                            <td class="px-6 py-4 text-sm font-semibold text-gray-900">¥3,000,000</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center">
                                    <div class="w-24 bg-gray-200 rounded-full h-2 mr-2">
                                        <div class="bg-green-500 h-2 rounded-full" style="width: 80%"></div>
                                    </div>
                                    <span class="text-sm text-gray-700">80%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded">验收中</span>
                            </td>
                            <td class="px-6 py-4">
                                <a href="project-detail.html" class="text-blue-600 hover:text-blue-800 text-sm mr-3">查看</a>
                                <a href="#" class="text-gray-600 hover:text-gray-800 text-sm">编辑</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
                
                <!-- Pagination -->
                <div class="bg-gray-50 px-6 py-4 flex items-center justify-between border-t border-gray-200">
                    <div class="text-sm text-gray-600">
                        显示 <span class="font-semibold">1-10</span> 条，共 <span class="font-semibold">28</span> 条
                    </div>
                    <div class="flex items-center gap-2">
                        <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">上一页</button>
                        <button class="px-3 py-1 bg-blue-600 text-white rounded-lg text-sm">1</button>
                        <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">2</button>
                        <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">3</button>
                        <button class="px-3 py-1 border border-gray-300 rounded-lg text-sm hover:bg-gray-100">下一页</button>
                    </div>
                </div>
            </div>
        </main>
    </div>
</body>
</html>

